dotConnect for SugarCRM Documentation
Devart.Common Namespace / ParentDataRelation Class / ParentDataRelation Constructor
A DbDataTable that is used as master dataset.
List of master columns used to establish the relation.
List of child columns used to establish the relation.

In This Topic
ParentDataRelation Constructor
In This Topic
Initializes a new instance of the ParentDataRelation class using the specified parent DbDataTable and matched arrays of parent and child column names.
Syntax
'Declaration
 
Public Function New( _
   ByVal parentTable As IListSource, _
   ByVal parentColumnNames() As String, _
   ByVal childColumnNames() As String _
)
 

Parameters

parentTable
A DbDataTable that is used as master dataset.
parentColumnNames
List of master columns used to establish the relation.
childColumnNames
List of child columns used to establish the relation.
See Also